package com.portal.framework.common;

/**
 * Project: spManage
 * 
 * Remark: 业务级常量定义
 * 
 * Author: tanghong
 * 
 * Create Date: 2010-04-13
 */

public class Constants{
	
	/**
	 * 判断
	*/
	public  static final String NO  = "0"; // 0 否 
	public  static final String YES = "1"; // 1 是
	
	/**
	 * 数字
	*/
	public  static final String ZERO   = "0"; 
	public  static final String ONE    = "1"; 
	public  static final String TWO    = "2";
	public  static final String THREE  = "3"; 

		
	/**
	 * 登录标识
	*/
	public  static final String LONIN_PASSWROD_ERROR  = "0"; // 密码错误
	public  static final String LONIN_USERINFO_PASS   = "1"; // 用户信息正确
	public  static final String LONIN_USERNAME_ERROR  = "2"; // 登录名不存在
	
	/**
	 * 页面跳转标识
	*/
	public  static final String PAGE_SUCCESS  = "success";   // 跳转到成功页面
	public  static final String PAGE_FAIL     = "fail";      // 跳转到失败页面
	public  static final String PAGE_ERROR    = "error";     // 跳转到错误页面
	public  static final String PAGE_MAIN     = "main";      // 跳转到主页面
	public  static final String PAGE_LOGIN    = "login";     // 跳转到登录页面
	public  static final String PAGE_BACK     = "back";       // 跳转到错误登录页面
	
}
